AMD/IOMMU: tidy struct ivrs_mappings
authorJan Beulich <jbeulich@suse.com>
Wed, 25 Sep 2019 14:03:48 +0000 (16:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Sep 2019 14:03:48 +0000 (16:03 +0200)
commit322609f9c9809ddc106362c24683c939524510d8
tree40c06a18aaff04bbf8a2d4cdcfe1000b42d64cf8
parent34a9ef62d3d29ddafbec6b3409074dd67eba7109
AMD/IOMMU: tidy struct ivrs_mappings

Move the device flags field up into an unused hole, thus shrinking
overall structure size by 8 bytes. Use bool and uint<N>_t as
appropriate. Drop pointless (redundant) initializations.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/drivers/passthrough/amd/iommu_acpi.c
xen/drivers/passthrough/amd/iommu_init.c
xen/include/asm-x86/amd-iommu.h